package conchmusic.conchmusicclient.util;

import android.content.res.Resources;


/**
 * Created by Pan Ke on 2017/4/21.
 */

public class CreateSlistCommand implements Command {

    private String createSlistJson;
    private Resources resources;

    public CreateSlistCommand(Resources resources, String createSlistJson) {
        this.createSlistJson = createSlistJson;
        this.resources = resources;
    }

    @Override
    public String execute() {
        return new Executor().createSlistTransfer(resources, createSlistJson);
    }
}
